home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
rocket_launcher.swf
/
scripts
/
DefineButton2_178
/
BUTTONCONDACTION on(press, keyPress s).as
Wrap
Text File
|
2006-01-17
|
1KB
|
41 lines
on(press, keyPress "s"){
if(isPlayingSpin == "5")
{
if(singleCredit != "0" or multiCredit == "3")
{
isPlayingSpin = "10";
isPlaying = "10";
stop1 = random("30") + "5";
stop2 = random("10") + "5";
stop3 = random("10") + "5";
set("_level0/reel1/:keepGoing","1");
set("_level0/reel2/:keepGoing2","1");
set("_level0/reel3/:keepGoing3","1");
set("_level0/wc/:winnerLevel","0");
tellTarget("/startplaying")
{
play();
}
if(soundPlaying == "1")
{
tellTarget("reelsound")
{
play();
}
tellTarget("/reelstop3")
{
play();
}
tellTarget("/reelstop2")
{
play();
}
tellTarget("/reelstop1")
{
play();
}
}
}
}
}